package com.wing.res;

import com.wing.common.utils.JsonResult;
import com.wing.enterprisecab.feign.EnterpriseCabClient;
import com.wing.utils.HttpUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author zhutao
 * @version 1.0
 * @since 2025-06-27 10:54
 */
@Service
public class MoveDownWarehouseFeign implements MoveDownWarehouseIFeign {

    @Autowired
    private EnterpriseCabClient enterpriseCabClient;
    
    @Override
    public void updateMoveDownWareHouseMapById(Map<String, Object> param) {
        JsonResult jsonResult = enterpriseCabClient.updateMoveDownWareHouseMapById(param);
        HttpUtil.JsonResultHandle(jsonResult);
    }

    @Override
    public void updateMoveDownWareHouseItemByMap(Map<String, Object> param) {
        JsonResult jsonResult = enterpriseCabClient.updateMoveDownWareHouseItemByMap(param);
        HttpUtil.JsonResultHandle(jsonResult);
    }
}
